﻿using SD.Infrastructure.DTOBase;
using SlamDunk.MES.IAppService.DTOs.Outputs.ResourceContext;
using System.Runtime.Serialization;

namespace SlamDunk.MES.IAppService.DTOs.Outputs.AcquisitionContext
{
    /// <summary>
    /// 采集规则项数据传输对象
    /// </summary>
    [DataContract]
    public class AcquisitionRuleItemInfo : BaseDTO
    {
        #region 变量编号 —— string VariableNo
        /// <summary>
        /// 变量编号
        /// </summary>
        [DataMember]
        public string VariableNo { get; set; }
        #endregion

        #region 变量名称 —— string VariableName
        /// <summary>
        /// 变量名称
        /// </summary>
        [DataMember]
        public string VariableName { get; set; }
        #endregion

        #region 设备编号 —— string EquipmentNo
        /// <summary>
        /// 设备编号
        /// </summary>
        [DataMember]
        public string EquipmentNo { get; set; }
        #endregion

        #region 排序 —— int Sort
        /// <summary>
        /// 排序
        /// </summary>
        [DataMember]
        public int Sort { get; set; }
        #endregion

        #region 描述 —— string Description
        /// <summary>
        /// 描述
        /// </summary>
        [DataMember]
        public string Description { get; set; }
        #endregion


        //导航属性

        #region 导航属性 - 设备 —— EquipmentInfo EquipmentInfo
        /// <summary>
        /// 导航属性 - 设备
        /// </summary>
        [DataMember]
        public EquipmentInfo EquipmentInfo { get; set; }
        #endregion
    }
}
